package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分商品对象 db_goods
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class DbGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String shangpinmingcheng;

    /** 图片 */
    @Excel(name = "图片")
    private String tupian;

    /** 规格 */
    @Excel(name = "规格")
    private String guige;

    /** 价格 */
    @Excel(name = "价格")
    private String jiage;

    /** 数量 */
    @Excel(name = "数量")
    private String shuliang;

    /** 商品详情 */
    @Excel(name = "商品详情")
    private String shangpinxiangqing;

    /** 农户账号 */
    @Excel(name = "农户账号")
    private String nonghuzhanghao;

    /** 农户姓名 */
    @Excel(name = "农户姓名")
    private String nonghuxingming;

    /** 地址 */
    @Excel(name = "地址")
    private String dizhi;

    /** 类型 */
    @Excel(name = "类型")
    private String goodsType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }

    public void setShangpinmingcheng(String shangpinmingcheng) 
    {
        this.shangpinmingcheng = shangpinmingcheng;
    }

    public String getShangpinmingcheng() 
    {
        return shangpinmingcheng;
    }

    public void setTupian(String tupian) 
    {
        this.tupian = tupian;
    }

    public String getTupian() 
    {
        return tupian;
    }

    public void setGuige(String guige) 
    {
        this.guige = guige;
    }

    public String getGuige() 
    {
        return guige;
    }

    public void setJiage(String jiage) 
    {
        this.jiage = jiage;
    }

    public String getJiage() 
    {
        return jiage;
    }

    public void setShuliang(String shuliang) 
    {
        this.shuliang = shuliang;
    }

    public String getShuliang() 
    {
        return shuliang;
    }

    public void setShangpinxiangqing(String shangpinxiangqing) 
    {
        this.shangpinxiangqing = shangpinxiangqing;
    }

    public String getShangpinxiangqing() 
    {
        return shangpinxiangqing;
    }

    public void setNonghuzhanghao(String nonghuzhanghao) 
    {
        this.nonghuzhanghao = nonghuzhanghao;
    }

    public String getNonghuzhanghao() 
    {
        return nonghuzhanghao;
    }

    public void setNonghuxingming(String nonghuxingming) 
    {
        this.nonghuxingming = nonghuxingming;
    }

    public String getNonghuxingming() 
    {
        return nonghuxingming;
    }

    public void setDizhi(String dizhi) 
    {
        this.dizhi = dizhi;
    }

    public String getDizhi() 
    {
        return dizhi;
    }

    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("shangpinmingcheng", getShangpinmingcheng())
            .append("tupian", getTupian())
            .append("guige", getGuige())
            .append("jiage", getJiage())
            .append("shuliang", getShuliang())
            .append("shangpinxiangqing", getShangpinxiangqing())
            .append("nonghuzhanghao", getNonghuzhanghao())
            .append("nonghuxingming", getNonghuxingming())
            .append("dizhi", getDizhi())
            .append("goodsType", getGoodsType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
